/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


function showusers(str1,str2)
{

var xmlhttp;
if (window.XMLHttpRequest)
  {
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
       document.getElementById("list").innerHTML=xmlhttp.responseText;
    }
  }
  xmlhttp.open("get","showusers?user="+str1+"&order="+str2,true);
  xmlhttp.send();
}

